package cn.tedu.you;

public class Test1 {
	public static void main(String[] args) {


		for(int b=10;b>=0;b--) {
			System.out.println(b);
		}

		for (int b=8;b<=88888;b=b*10+8) {
			System.out.println(b);
		}

		for (int b=88888;b>=8;b=(b-8)/10) {
			System.out.print(b+",");
		}

		System.out.println();


		for(int b=1;b<=100;b++) {
			if(b%2==0) {
				System.out.println(b);
			}
		}

		int z=0;
		for(int a=1;a<=100;a++) {
			if(a%2==0) {
				z=z+a;
			}
		}
		System.out.println(z);

		for (int b=0;b<=100;b+=2) {
			System.out.println(b);
		}

		int x=0;
		for(int a=1;a<=100;a++) {
			if(a%2!=0) {
				x++;//x=x+1;	
			}
		}
		System.out.println(x);

		int y=0;
		for(int a=1;a<=100;a++) {
			if(a%4==0) {
				y=y+a;	
			}
		}
		System.out.println(y);

	}
}
